﻿namespace Prism.Navigation
{
    /// <summary>
    /// Interface for objects that require cleanup of resources prior to Disposal
    /// 接口的对象的处理之前需要清理的资源
    /// </summary>
    public interface IDestructible
    {
        /// <summary>
        /// This method allows cleanup of any resources used by your View/ViewModel
        /// 这种方法允许使用的任何资源清理你的视图/视图模型
        /// </summary>
        void Destroy();
    }
}
